﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Test.ServiceReference1;

namespace Test
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        SmsSeriesSoapClient smsSeriesSoapClient = new SmsSeriesSoapClient();
        private void Form1_Load(object sender, EventArgs e)
        {
            
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            
            smsSeriesSoapClient.SendMsg(textBox1.Text, textBox2.Text, textBox3.Text,"ddd",0,2);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            for (int i = 0; i < Convert.ToInt32(textBox4.Text); i++)
            {
                smsSeriesSoapClient.SendMsg(textBox1.Text, textBox2.Text, textBox3.Text + i.ToString(), "ddd", 0, 8);
            }
        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

        private void label2_Click(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void textBox3_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
